public class Example33 {
    public static void main(String[] args) {
        for (int i=1; i<= 6; i++) {
            for (int z= 1; z<= 6-i; z++) {
                System.out.print(" ");
            }
            for (int j = 1; j <= (2 * i - 1); j++) {
                System.out.print("*");
            }
            System.out.println();
        }

    }
}
